package com.box.mapper;/***
 *@author java214
 *@site www.java214.com
 *@company 一帆风顺网络科技有限公司
 *@create 2020-02-04 22:39
 *@ClassName ${Name} 
 *@Description TODO
 *@program MyBox
 *
 */

import com.box.entity.DbTemplates;
import com.box.entity.DbTemplatesExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: MyBox
 * @ClassName DbTemplatesMapper
 * @description:
 * @author: tyf19970214
 * @create: 2020-02-04 22:39
 * @Version 1.0
 **/
public interface DbTemplatesMapper {

    long countByExample(DbTemplatesExample example);

    int deleteByExample(DbTemplatesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DbTemplates record);

    int insertSelective(DbTemplates record);

    List<DbTemplates> selectByExampleWithBLOBs(DbTemplatesExample example);

    List<DbTemplates> selectByExample(DbTemplatesExample example);

    DbTemplates selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DbTemplates record, @Param("example") DbTemplatesExample example);

    int updateByExampleWithBLOBs(@Param("record") DbTemplates record, @Param("example") DbTemplatesExample example);

    int updateByExample(@Param("record") DbTemplates record, @Param("example") DbTemplatesExample example);

    int updateByPrimaryKeySelective(DbTemplates record);

    int updateByPrimaryKeyWithBLOBs(DbTemplates record);

    int updateByPrimaryKey(DbTemplates record);
}
